package com.itshare.video.pojo.bo;

import com.itshare.video.common.core.validator.support.value.NumMustIn;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 冻结用户 ID ，不能发布视频
 * @Author lyr
 * @create 2020/11/2 17:29
 */
@Data
public class FreezeAccountBO {
    @NotNull(message = "用户id 不能为null")
    private Integer userId;

    @NumMustIn(anyIn = {3,7},message = "规定只能冻结3天或者7天")
    private Integer day;
}
